﻿using System;
using System.Data;

namespace SIS.DataAccess
{
	/// <summary>
	/// Author: hieunv
	/// </summary>
	class Advisor : DataTable
	{
		public const string STUDENT_ID = "s_ID";
		public const string INSTRUCTOR_ID = "i_ID";

		public Advisor()
			: base("Advisor")
		{
			var studentID = new DataColumn(STUDENT_ID, typeof(string));
			studentID.AllowDBNull = false;
			this.Columns.Add(studentID);
			var instructorID = new DataColumn(INSTRUCTOR_ID, typeof(string));
			instructorID.AllowDBNull = false;
			this.Columns.Add(instructorID);
			this.PrimaryKey = new DataColumn[] { studentID, instructorID };
		}
	}
}
